const sidebar = require('./sidebar')
module.exports = {
  title: "武汉黑马前端-每日作业",
  description: "武汉黑马前端每日作业",
  base: '/task/',
  public: `.vuepress/public`,
  logo: '/favicon.png',
  head: [
    // ["link", { rel: "icon", href: "/onepunch.jpeg" }],
    [
      "meta",
      {
        name: "keywords",
        content:
          "武汉黑马前端 每日作业",
      },
    ],
    // [
    //   "script",
    //   { src: "https://hm.baidu.com/hm.js?6aa240e1372dfffaf299861c47afb782" },
    // ],
  ],
  themeConfig: {
    lastUpdated: '最新修改', // string | boolean
    nav: [
      { text: '主页', link: '/' },
      // { text: 'HTML', link: '/01html/index' },
      // { text: 'CSS', link: '/02css/index' },
      { text: '01-移动web', link: '/03web/index' },
      { text: '02-js', link: '/04js/index' },
      { text: '03-webapis', link: '/05webapis/index' },
      { text: '04-js高级', link: '/06jsmore/index' },
      { text: '05-ajax', link: '/07ajax/index' },
      // { text: 'git', link: '/08git/index' },
      // { text: 'cms可视化', link: '/09cms/index' },
      // { text: '框架前置课', link: '/10node/index' },
      // { text: 'vue基础', link: '/11vue/index' },
      // { text: '人资', link: '/12hr/index' },
      // { text: '原生小程序', link: '/13applet/index' },
      // { text: 'vue3+ts', link: '/14vue3ts/index' }
    ],
    repo: "",
    // 自定义仓库链接文字。默认从 `themeConfig.repo` 中自动推断为
    // "GitHub"/"GitLab"/"Bitbucket" 其中之一，或是 "Source"。
    repoLabel: "Github",

    // 以下为可选的编辑链接选项

    // 假如你的文档仓库和项目本身不在一个仓库：
    docsRepo: "",
    docsDir: "docs",
    docsBranch: "master",
    // 默认是 false, 设置为 true 来启用
    editLinks: false,
    // 默认为 "Edit this page"
    editLinkText: "帮助我们改善此页面！",
    // displayAllHeaders: true,
    sidebar
  },
  markdown: {
    lineNumbers: true,
  },
};
